package com.lfk.demo.Ability;

import ohos.aafwk.content.Intent;
import ohos.aafwk.ability.Ability;

import com.lfk.demo.ResourceTable;
import com.lfk.justwetools.Component.CartoonView.CartoonView;

public class CartoonAbility extends Ability {
    private CartoonView cartoonView;

    @Override
    protected void onStart(Intent intent) {
        super.onStart(intent);
        setPattern(ResourceTable.Pattern_base);
        setUIContent(ResourceTable.Layout_ability_cartoon_ability);

        cartoonView = (CartoonView) findComponentById(ResourceTable.Id_cartoon_view);
        cartoonView.start();
    }
}
